package cn.idongjia.live.exception;

import cn.idongjia.exception.Result;
import cn.idongjia.exception.ResultCodes;

/**
 * 直播异常
 * Created by wuqiang on 16/4/6.
 */
public class LiveException extends BaseException {

    private static final long serialVersionUID = 2574530112398708349L;

    public LiveException() {
        this(ResultCodes.LIVE_ERROR);
    }

    public LiveException(int code, String msg) {
        super(code, msg);
    }

    public LiveException(String message) {
        super(message);
    }

    public LiveException(Result result) {
        super(result);
    }

    public LiveException(String message, Throwable cause) {
        super(message, cause);
    }

    public LiveException(Throwable cause) {
        super(cause);
    }

    public LiveException(String message, Throwable cause,
                         boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}
